<script>
	import { checkUpdateVersion } from 'src/plugins/utils/version'
	import { overShare } from 'src/plugins/utils/share'
	import { getCurPage } from 'src/plugins/utils'
	import { setTheme } from 'src/plugins/themes';
	import { useStore } from 'src/plugins/pinia';
	export default {
		onLaunch: function() {
			checkUpdateVersion();
		},
		onShow: function() {
			console.log('App Show')
			overShare()
		},
		onHide: function() {
			console.log('App Hide')
		},
		mounted: function() {
			const { sys } = useStore();
			setTheme(sys.dataTheme);
		}
	}
</script>

<style>
	/*每个页面公共css */
</style>